#include "tcpserver.hpp"

int main(int argc,char* argv[])
{
    if(argc != 2)
    {
        std::cout << "Usage: " << argv[0] << " port" << std::endl;
        exit(1);
    }

    int port = atoi(argv[1]);
    TcpServer* svr = new TcpServer(port);
    svr->InitServer();
    svr->Start();
    return 0;
}